package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.TReceiveDetail;

/**
 * 物资领用明细Mapper接口
 * 
 * @author ruoyi
 * @date 2023-12-22
 */
public interface TReceiveDetailMapper 
{
    /**
     * 查询物资领用明细
     * 
     * @param id 物资领用明细主键
     * @return 物资领用明细
     */
    public TReceiveDetail selectTReceiveDetailById(Long id);

    /**
     * 查询物资领用明细列表
     * 
     * @param tReceiveDetail 物资领用明细
     * @return 物资领用明细集合
     */
    public List<TReceiveDetail> selectTReceiveDetailList(TReceiveDetail tReceiveDetail);

    /**
     * 新增物资领用明细
     * 
     * @param tReceiveDetail 物资领用明细
     * @return 结果
     */
    public int insertTReceiveDetail(TReceiveDetail tReceiveDetail);

    /**
     * 修改物资领用明细
     * 
     * @param tReceiveDetail 物资领用明细
     * @return 结果
     */
    public int updateTReceiveDetail(TReceiveDetail tReceiveDetail);

    /**
     * 删除物资领用明细
     * 
     * @param id 物资领用明细主键
     * @return 结果
     */
    public int deleteTReceiveDetailById(Long id);

    /**
     * 批量删除物资领用明细
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTReceiveDetailByIds(Long[] ids);
}
